package com.xiaoyu.awakening.ai.index.core.parse;

import com.xiaoyu.awakening.ai.index.enums.AwkDocumentTypeEnum;
import com.xiaoyu.awakening.ai.index.enums.AwkMediaTypeEnum;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author wangxiaoyu
 * @date 2025/6/25 17:09
 * @since v1.0
 */
@Component
public abstract class AbstractAwkFileParser {
    public List<AwkDocumentTypeEnum> supportParseDocTypeList;

    public abstract AwkMediaTypeEnum registerMediaType();

    public AbstractAwkFileParser() {
    }

    public void process() {
    }

    public void loadResource() {
    }

    public byte[] downloadFile(String url) {
        return new byte[0];
    }
}
